package com.sjd.service;

import com.sjd.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserService {
    public List<User> getUserList();

    public User getUserById(int id);

    public  User getUserByName(String name);

    public int  addUser(User user);

    public int  modifyUser(User user);

    public int  deleteUserById(int id);
}
